#version 130

in vec4 color; //The color passed in from the vertex shader (interpolated)
in vec2 texcoord0;
out vec4 outColor; //Define the output of our fragment shader

uniform sampler2D texture0;

void main(void)
{
	outColor = color * texture(texture0, texcoord0);
}